﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Payton.WP7.Common.Model;
using System.Collections.Generic;

namespace Payton.WP7.Common.Interface
{
    public interface IUserService
    {
        SNSAccount Account { get; set; }

        void GetUser(SNSRequest request,Action<SNSUser,SNSResult> action);

        void GetUserList(Model.SNSRequest snsRequest, Action<System.Collections.Generic.IList<Model.SNSUser>, SNSResult> action);

        void Follow(SNSUser user, Action<SNSUser, SNSResult> action);

        void Unfollow(SNSUser user, Action<SNSUser, SNSResult> action);

        void GetFriendship(SNSUser user, Action<SNSFriendship, SNSResult> action);

    }

   
}
